export function getRouterByType(type) {
    const routers = {
        0: "/device-basic/component/detail/index",
        1: "/device-dataIndentify/components/add-plan/detail",
        2: "/plant-check/component/add-plan/detai",
        3: "/device-patrol/component/add-plan/detail",
        4: "/device-preserve/component/addPlan/detail",
        5: "/device-repair/repairItems/component/detail/index",
        6: "/device-repair/addMaintenance/detail"
    }
    return routers[type]
}